import axios from 'axios';
//请求用户信息uri

function getUserInfo(domain,sessionId) {
    let uri = domain + '/customer/getCustomer';
    let options = {
        method: 'get',
        url: uri,
        headers: {
            sessionId: sessionId,
        }
    };
    return axios(options);
}
export default getUserInfo;